package javaBeans;

import java.util.Date;

public class Thread {
	String title; //Thread
	String subject; //Thread
	String mainmessage; //Thread
	Date timestamp; //Thread
	String creator; //
	String category; // ThreadCategory
	
	public Thread(String title, String subject, String mainmessage,
			Date timestamp, String creator, String category) {
		super();
		this.title = title;
		this.subject = subject;
		this.mainmessage = mainmessage;
		this.timestamp = timestamp;
		this.creator = creator;
		this.category = category;
	}
	
	
	public String getTitle() {
		return title;
	}
	public String getSubject() {
		return subject;
	}
	public String getMainmessage() {
		return mainmessage;
	}
	public Date getTimestamp() {
		return timestamp;
	}
	public String getCreator() {
		return creator;
	}
	public String getCategory() {
		return category;
	}



}
